package testcasegeneration

import (
	"strconv"
)

func linkedList(dataLen int) string {

	resArr := make([]int, 0, dataLen)

	for i := 0; i < dataLen; i++ {
		resArr = append(resArr, randomIntData(0, dataLen))
	}

	resArrPyString := "LINKEDLIST(["
	for i := range resArr {
		resArrPyString += strconv.Itoa(resArr[i])

		if i != len(resArr)-1 {
			resArrPyString += ","
		}
	}
	resArrPyString += "])"

	return resArrPyString
}
